﻿using HuiLian.Common.Input;
using HuiLian.Common.Output;
using HuiLian.Model.Platform;
using HuiLian.Service.Platform.LoginCount.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuiLian.Service.Platform.LoginCount
{
    public interface ILoginCountService
    {
        Task<IResponseOutput<LoginCountEntity>> GetUserLoginAsync(long userId, DateTime dateTime);

        Task<IResponseOutput> GetUserLoginCountAsync(long userId);

        Task<IResponseOutput> GetAsync(long id);

        Task<IResponseOutput> PageAsync(PageInput<LoginCountEntity> input);

        Task<IResponseOutput> AddAsync(LoginCountAddInput input);

        Task<IResponseOutput> UpdateAsync(LoginCountUpdateInput input);

        Task<IResponseOutput> UpdateEntityAsync(LoginCountEntity input);
    }
}
